package com.service.business.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.order.dto.OrderProductOtherTotalVo;
import com.service.dao.model.OrderProductOtherTotal;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


/**
 * 订单总计
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-05-03 21:59:31
 */
public interface OrderProductOtherTotalService extends IService<OrderProductOtherTotal> {

    void createdOrderTotal(OrderProductOtherTotalVo orderProductOtherTotalVo);

    List<OrderProductOtherTotal> listTotalByOrderId(Integer orderId);

    Map<String, BigDecimal> listTotal4PayByOrderId2Map(Integer orderId);

    Map<String, BigDecimal> listTotalByOrderId2Map(Integer orderId);

    Map<String, BigDecimal> listTotalByOrderId2Map(List<OrderProductOtherTotal> totalList);



}

